package com.yiqi.zhiyuan.entity.dto;

import com.suozhang.framework.entity.bo.BaseEntity;

/**
 * @ProjectName: ZhiYuan
 * @Description: 注册提交数据
 * @Author: lijuwen
 * @CreateDate: 2019/3/13 12:17
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/3/13 12:17
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class RegisterDTO implements BaseEntity {

    /**
     * mobile : string
     * password : string
     * vcode : string
     */

    private String mobile;
    private String password;
    private String vcode;
    private Integer loginType;
    private String registrationId;
    private Integer flag;

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(String registrationId) {
        this.registrationId = registrationId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVcode() {
        return vcode;
    }

    public void setVcode(String vcode) {
        this.vcode = vcode;
    }

    public Integer getLoginType() {
        return loginType;
    }

    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }

    @Override
    public String toString() {
        return "RegisterDTO{" +
                "mobile='" + mobile + '\'' +
                ", password='" + password + '\'' +
                ", vcode='" + vcode + '\'' +
                ", loginType=" + loginType +
                '}';
    }

    public RegisterDTO(String mobile, String password, String vcode) {
        this.mobile = mobile;
        this.password = password;
        this.vcode = vcode;
    }

    public RegisterDTO(String mobile, String password, String vcode, Integer loginType) {
        this.mobile = mobile;
        this.password = password;
        this.vcode = vcode;
        this.loginType = loginType;
    }

    public RegisterDTO(String mobile, String vcode) {
        this.mobile = mobile;
        this.vcode = vcode;
    }

    public RegisterDTO() {
    }
}
